package com.coocaa.typhoon.api.third.volcengine.yml;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2025/9/19 17:36
 * @description
 */
@Data
@Component
@ConfigurationProperties(prefix = "volc")
public class VolcConfigYml {
    private String vikingDbHost;
    private String collectionName;
    private String indexName;
    /**
     * 限制评分
     */
    private Double limitScore;
    /**
     * 召回数量
     */
    private Integer limitRecall;

    private String ocrServiceId;

    /**
     * 兜底关键词
     */
    private List<BackKeywordConfig> backKeywordConfigList;

    @Data
    public static class BackKeywordConfig {
        private String scene;
        private List<String> words;
    }
}
